package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 工作室成员分成对象 studio_person_service
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("工作室成员分成-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "studio_person_service")
public class StudioPersonServiceEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 工作室人员主键
	 */
	@ApiModelProperty("工作室人员主键")
	private Long studioPersonId;

	/**
	 * 服务项标识(01:图文;02:电话;03:私人)
	 */
	@ApiModelProperty("服务项标识(01:图文;02:电话;03:私人)")
	private String serviceId;

	/**
	 * 分成比例
	 */
	@ApiModelProperty("分成比例")
	private BigDecimal proportion;

	/**
	 * null
	 */
	@ApiModelProperty("null")
	private BigDecimal price;

	/**
	 * 状态(01:开启;00:关闭)
	 */
	@ApiModelProperty("状态(01:开启;00:关闭)")
	private String state;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

}
